home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v8n08.arc / FORMAT.BAT < prev    next >
DOS Batch File  |  1989-03-28  |  418b  |  15 lines

  1. ECHO OFF
  2. FOR %%v IN (a: b: A: B:) DO IF %1==%%v GOTO OK
  3. ECHO You can only format drives A: and B: with this batch file.
  4. GOTO End
  5. :Ok
  6. ECHO If you get an "Abort, Retry, Ignore" message, the disk is
  7. ECHO not already formatted.  Select A for Abort and continue.
  8. DIR %1
  9. ECHO If a directory appeared press CTRL-C now.
  10. PAUSE
  11. REM Assumes FORMAT.COM has been renamed "X123LUL0.COM".
  12. X123LUL0.COM %1
  13. LABEL %1
  14. :End
  15.